#pragma once
#include <string>
#include <cstdint>

namespace jetcar {
bool initCAN(const std::string &ifname);
void closeCAN();
bool sendCANFrame(uint32_t id, const uint8_t *data, uint8_t len, std::string& error_msg);
} // namespace jetcar
